package com.base.common.edu.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * @Author Maple.Chen
 * @Description 活动课程实体(activity_curriculum object)
 * @Date 16:04 2021/1/29
 **/
@Data
@ApiModel(description = "活动课程实体")
@JsonIgnoreProperties(value = {"handler"})
public class HuoDongCourse implements Serializable {

    private static final long serialVersionUID = 8952200526636901742L;
    @ApiModelProperty( value = "活动课程id：Oracle Sequence")
    private Integer activityID;
    @ApiModelProperty( value = "活动课程名称")
    private String activityName;
    @ApiModelProperty( value = "活动课程有限名额")
    private Integer numLimit;
    @ApiModelProperty( value = "活动课程创建时间")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @ApiModelProperty( value = "活动课程场地等说明信息")
    private String activityInfo;
    @ApiModelProperty( value = "活动课程开始时间")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date effectiveTime;
    @ApiModelProperty( value = "活动课程创建者，参照职工实体")
    private Staff staff;
    @ApiModelProperty( value = "活动课程报名信息")
    private Set<HuoDongCourseRecords> huoDongCourseRecords = new HashSet<HuoDongCourseRecords>();

}
